package com.test;

import com.BkPriceConDepth;
import org.apache.rocketmq.client.exception.MQBrokerException;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.client.producer.SendResult;
import org.apache.rocketmq.common.message.Message;
import org.apache.rocketmq.remoting.exception.RemotingException;
import org.junit.Test;

import java.util.UUID;
import java.util.concurrent.CountDownLatch;

public class DepthSignalMqProducer {
    static DefaultMQProducer producer;
    static {
        producer = new DefaultMQProducer("111111");//保证应用内唯一
        producer.setNamesrvAddr("192.168.0.117:9876;192.168.0.21:9876");
        producer.setInstanceName("22222222");
        try {
            producer.start();
        } catch (MQClientException e) {
            e.printStackTrace();
        }
    }

    @Test
    public void test() throws InterruptedException {
        
        //String tag = "ADA_USDT";
        String[] tags = new String[]{"ADA_USDT", "ETH_USDT", "BTC_USDT"};
        for (int i = 0; i < 1; i++) {
            int finalI = i;
            String tag = tags[i % tags.length];
            new Thread(new Runnable() {
                @Override
                public void run() {
                    while (true) {
                        sendMsg("priceContopic", getBody(finalI, tag), tag);
                        try {
                            Thread.sleep(20);
                        } catch (InterruptedException e) {
                            e.printStackTrace();
                        }
                    }
                }
            }).start();
        }

        CountDownLatch latch = new CountDownLatch(1);
        latch.await();
    }

    public void sendMsg(String topic, String body, String tag) {
        BkPriceConDepth priceConDepth;

        String key = UUID.randomUUID().toString();

        Message msg = new Message();
        msg.setTopic(topic);
        msg.setBody(body.getBytes());
//        msg.setFlag(mqRequest.getFlag());
        msg.setKeys(UUID.randomUUID().toString()); //每个消息在业务的唯一标识码
        msg.setTags(tag);

        try {
            SendResult result = producer.send(msg);
            System.out.println("result:" + result);
        } catch (MQClientException e) {
            e.printStackTrace();
        } catch (RemotingException e) {
            e.printStackTrace();
        } catch (MQBrokerException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }

    String getBody(int lpId, String symbol) {
        return "{\n" +
                "\t\"asks\": [{\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07923000,\n" +
                "\t\t\"qty\": 0.80000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07924000,\n" +
                "\t\t\"qty\": 29407.20000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07925000,\n" +
                "\t\t\"qty\": 0.50000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07930000,\n" +
                "\t\t\"qty\": 33314.10000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07937000,\n" +
                "\t\t\"qty\": 12000.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07938000,\n" +
                "\t\t\"qty\": 20000.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07940000,\n" +
                "\t\t\"qty\": 6500.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07942000,\n" +
                "\t\t\"qty\": 17507.60000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07943000,\n" +
                "\t\t\"qty\": 40000.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07947000,\n" +
                "\t\t\"qty\": 14968.80000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07952000,\n" +
                "\t\t\"qty\": 4990.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07953000,\n" +
                "\t\t\"qty\": 3000.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07958000,\n" +
                "\t\t\"qty\": 60000.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07962000,\n" +
                "\t\t\"qty\": 200.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07968000,\n" +
                "\t\t\"qty\": 906.80000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07977000,\n" +
                "\t\t\"qty\": 18858.50000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07986000,\n" +
                "\t\t\"qty\": 455.10000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07988000,\n" +
                "\t\t\"qty\": 11791.10000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07992000,\n" +
                "\t\t\"qty\": 4135.90000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07999000,\n" +
                "\t\t\"qty\": 8507.30000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}],\n" +
                "\t\"bids\": [{\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07919000,\n" +
                "\t\t\"qty\": 30285.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07918000,\n" +
                "\t\t\"qty\": 5647.70000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07917000,\n" +
                "\t\t\"qty\": 5696.30000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07916000,\n" +
                "\t\t\"qty\": 630.90000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07911000,\n" +
                "\t\t\"qty\": 16632.90000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07910000,\n" +
                "\t\t\"qty\": 117666.20000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07909000,\n" +
                "\t\t\"qty\": 140.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07906000,\n" +
                "\t\t\"qty\": 175.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07905000,\n" +
                "\t\t\"qty\": 200.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07902000,\n" +
                "\t\t\"qty\": 38465.10000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07901000,\n" +
                "\t\t\"qty\": 7387.30000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07900000,\n" +
                "\t\t\"qty\": 163176.20000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07899000,\n" +
                "\t\t\"qty\": 300.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07897000,\n" +
                "\t\t\"qty\": 609.60000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07896000,\n" +
                "\t\t\"qty\": 10000.00000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07895000,\n" +
                "\t\t\"qty\": 359.10000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07894000,\n" +
                "\t\t\"qty\": 17848.20000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07891000,\n" +
                "\t\t\"qty\": 54462.20000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07888000,\n" +
                "\t\t\"qty\": 19706.70000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}, {\n" +
                "\t\t\"lpId\": " + lpId + ",\n" +
                "\t\t\"price\": 0.07887000,\n" +
                "\t\t\"qty\": 465968.30000000,\n" +
                "\t\t\"timeStatistics\": {\n" +
                "\t\t\t\"bkc\": 0,\n" +
                "\t\t\t\"bks\": 0,\n" +
                "\t\t\t\"lpc\": 0,\n" +
                "\t\t\t\"lpe\": 0,\n" +
                "\t\t\t\"lps\": 0,\n" +
                "\t\t\t\"wgc\": 0\n" +
                "\t\t}\n" +
                "\t}],\n" +
                "\t\"createTime\": " + System.currentTimeMillis() + ",\n" +
                "\t\"symbol\": \"" + symbol + "\",\n" +
                "\t\"timeStatistics\": {\n" +
                "\t\t\"bkc\": 0,\n" +
                "\t\t\"bks\": 0,\n" +
                "\t\t\"lpc\": 1541571422436,\n" +
                "\t\t\"lpe\": 1541571422430,\n" +
                "\t\t\"lps\": 1541571421502\n" +
                "\t}\n" +
                "}";
    }
}
